﻿using Abp.Runtime.Caching;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.Countrys.Cache
{
    public static class CountryCacheExtensions
    {
        /// <summary>
        /// 指定城市
        /// </summary>
        /// <param name="cacheManager"></param>
        /// <returns></returns>
        public static ITypedCache<string, CountryCacheItem> GetCountryCache(this ICacheManager cacheManager)
        {
            return cacheManager.GetCache<string, CountryCacheItem>(CountryCacheItem.CacheName);
        }
    }
}
